package com.qm.console.service;

import com.qm.console.model.SysRole;
import com.qm.console.model.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserRoleService {

    void setUserSysRole(int uid, int role_id);

    void unBindUserSysRole(int uid);

    List<UserInfo> getUsersByRoleId(@Param("rid") int rid);

    List<SysRole> getSysRoleByUid(@Param("uid") int uid);


}
